package com.liugenshui.configdemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: 测试
 * @Author: liugenshui
 * @Date: Create in 2018/11/4 下午3:51
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/hello")
    public String helloWorld(){
        return "hello world!";
    }
}
